                        <!-- newsticker -->
                        <div id="newsticker-demo" style="width: 300px; color: white;" align="left">
                            <div class="newsticker-jcarousellite" style="margin-left: 5px;">
                                <ul>
                                <?php while($news = mysql_fetch_array($lastnews)){?>
                                    <li id="li" style="padding-top: 0px; padding-bottom: 15px;">
				                        <div class="info" style="height: 80px">
                                            <div style="display: block; botom: 0px; margin-left: 10px; margin-right: 10px;">
                                                <font size=3><div style="color: black;"><b><a href="noticia.php?id=<?php echo $news['id']; ?>"><?php echo $news['titulo']; ?></a></b></div></font>
                                                <FONT size=2>
                                                    <?php echo strip_tags(substr(utf8_decode($news['news']),0,strrpos(substr(utf8_decode($news['news']),0,100)," ")))."..."; ?>
                                                </FONT>
                                            </div>
				                        </div>
                                        <div class="mas"><a href="noticia.php?id=<?php echo $news['id']; ?>"><img src="images/ver-mas.png"/></a></div>
				                        <div class="clear"></div>
                                    </li>
                                    <?php } ?>
                                </ul>
                            </div>
                        </div>
                        <!-- newsticker -->
                        
                        <!-- secciones especiales -->
                        <div style="position: absolute; top: 0px; left: 0px; width: 100%">
                            <!-- funcionario -->
                            <div id="news-especial" style="position: absolute; left: 310px;">
                                <?php
                                    $sql= "SELECT * FROM `news` WHERE titulo like '%#conoceatufuncionario%' order by id desc LIMIT 0,1";
                                    $resEmp = mysql_query($sql, $dbh) or die(mysql_error());
                                    $sql=mysql_fetch_array($resEmp);
                                ?>

                                <div><a href="noticia.php?id=<?php echo $sql['id']; ?>"><img id="imagen-especial" src="../newsimages/<?php echo $sql['image']; ?>" width="100%"/></a></div>
                                <div class="intro" style="display: block; botom: 0px; width: 100%;">
                                    <font size=3><div style="color: black;"><b><?php echo $sql['titulo']; ?></b></div></font>
                                    <FONT size=2>
                                        <?php echo strip_tags(substr(utf8_decode($sql['news']),0,strrpos(substr(utf8_decode($sql['news']),0,140)," ")))."..."; ?>&nbsp; <a href="noticia.php?id=<?php echo $sql['id']; ?>"></a>
                                    </FONT>
                                </div>
                                <div class="categoria"><a href="funcionario.php"><img src="images/funcionario.png" width="100%"/></a></div>
                                <div class="more"><a href="noticia.php?id=<?php echo $sql['id']; ?>"><img src="images/ver-mas.png" width="100%"/></a></div>
                            </div>
                            <!-- funcionario -->
                            
                            <!-- reportajes -->
                            <div id="news-especial" style="position: absolute; left: 515px;">
                                <?php
                                    $sql= "SELECT * FROM `news` WHERE titulo like '%#reportaje%' order by id desc LIMIT 0,1";
                                    $resEmp = mysql_query($sql, $dbh) or die(mysql_error());
                                    $sql=mysql_fetch_array($resEmp);
                                ?>

                                <div><a href="noticia.php?id=<?php echo $sql['id']; ?>"><img id="imagen-especial" src="../newsimages/<?php echo $sql['image']; ?>" width="100%"/></a></div>
                                <div class="intro" style="display: block; botom: 0px; width: 100%;">
                                    <font size=3><div style="color: black;"><b><?php echo $sql['titulo']; ?></b></div></font>
                                    <FONT size=2>
                                        <?php echo strip_tags(substr(utf8_decode($sql['news']),0,strrpos(substr(utf8_decode($sql['news']),0,140)," ")))."..."; ?>&nbsp; <a href="noticia.php?id=<?php echo $sql['id']; ?>"></a>
                                    </FONT>
                                </div>
                                <div class="categoria"><a href="reportajes.php"><img src="images/reportaje.png" width="100%"/></a></div>
                                <div class="more"><a href="noticia.php?id=<?php echo $sql['id']; ?>"><img src="images/ver-mas.png" width="100%"/></a></div>
                            </div>
                            <!-- reportajes -->
                            
                            <!-- rinconcito -->
                            <div id="news-especial" style="position: absolute; left: 720px;">
                                <?php
                                    $sql= "SELECT * FROM `news` WHERE titulo like '%#rinconcito%' order by id desc LIMIT 0,1";
                                    $resEmp = mysql_query($sql, $dbh) or die(mysql_error());
                                    $sql=mysql_fetch_array($resEmp);
                                ?>

                                <div><a href="noticia.php?id=<?php echo $sql['id']; ?>"><img id="imagen-especial" src="../newsimages/<?php echo $sql['image']; ?>" width="100%"/></a></div>
                                <div class="intro" style="display: block; botom: 0px; width: 100%;">
                                    <font size=3><div style="color: black;"><b><?php echo $sql['titulo']; ?></b></div></font>
                                    <FONT size=2>
                                        <?php echo strip_tags(substr(utf8_decode($sql['news']),0,strrpos(substr(utf8_decode($sql['news']),0,140)," ")))."..."; ?>&nbsp; <a href="noticia.php?id=<?php echo $sql['id']; ?>"></a>
                                    </FONT>
                                </div>
                                <div class="categoria"><a href="funcionario.php"><img src="images/rinconcito.png" width="100%"/></a></div>
                                <div class="more"><a href="noticia.php?id=<?php echo $sql['id']; ?>"><img src="images/ver-mas.png" width="100%"/></a></div>
                            </div>
                            <!-- rinconcito -->
                            <!-- Twitter, Wather -->
                            <div style="position: absolute; left: 930px;">
                                <script charset="utf-8" src="http://widgets.twimg.com/j/2/widget.js"></script>
                                <script> 
                                    new TWTR.Widget({
                                        version: 2,
                                        type: 'profile',
                                        rpp: 20,
                                        interval: 6000,
                                        width: 190,
                                        height: 260,
                                        theme: {
                                            shell: {
                                                background: '#666666',                                            
                                                color: '#ffffff'
                                            },
                                            tweets: {
                                                background: '#ffffff',
                                                color: 'black',
                                                links: '#669933'
                                            }
                                        },
                                        features: {
                                            scrollbar: true,
                                            loop: true,
                                            live: true,
                                            hashtags: true,
                                            timestamp: true,
                                            toptweets: true,
                                            behavior: 'all'
                                        }
                                    }).render().setUser('infomedia_mx').start();
                                </script>
                                <!-- weather widget start --><div id="m-booked-bl-simple-96678" style="width: 200px;"> <div class="weather-160" style="background-color: #70747a;"> <div class="booked-bl-simple-main"> <div class="booked-bl-simple-weather wmed12"> <div class="booked-bl-simple-degree"> <div class="booked-bl-simple-degree-value booked-bl-simple-degree-C"><span class="plus">+</span>22</div> <div class="booked-bl-simple-degree-day"> <div class="booked-bl-simple-day-d"><span class="plus">+</span>25&deg;</div> <div class="booked-bl-simple-night-d"><span class="plus">+</span>16&deg;</div> </div> </div> <a href="http://booked.es/weather/campeche-19076" class="booked-bl-simple-city">Campeche</a> <div class="booked-bl-simple-date">Viernes, 01</div> </div> <div class="booked-bl-simple-see10"> <a href="http://booked.es/weather/campeche-19076">Previsión para 7 días</a> </div> </div> </div> <div class="bookew-weather-copy" id="bookew-weather-copy-1">&copy; <a href="http://booked.es/">http://www.booked.net</a></div> </div><script type="text/javascript"> var css_file=document.createElement("link"); css_file.setAttribute("rel","stylesheet"); css_file.setAttribute("type","text/css"); css_file.setAttribute("href",'http://s.bookcdn.com/css/weather.css?v=0.0.1'); document.getElementsByTagName("head")[0].appendChild(css_file); function setWidgetData(data) { if(typeof(data) != 'undefined' && data.results.length > 0) { for(var i = 0; i < data.results.length; ++i) { var objMainBlock = document.getElementById('m-booked-bl-simple-96678'); if(objMainBlock !== null) { var copyBlock = document.getElementById('m-bookew-weather-copy-'+data.results[i].widget_type); objMainBlock.innerHTML = data.results[i].html_code; if(copyBlock !== null) objMainBlock.appendChild(copyBlock); } } } else { alert('data=undefined||data.results is empty'); } } </script> <script type="text/javascript" charset="UTF-8" src="http://www.booked.net/?page=get_weather_info&action=get_weather_info&ver=3&cityID=19076&type=1&scode=2&ltid=3458&domid=582&cmetric=1&wlangID=4&color=70747a&wwidth=250&header_color=ffffff&text_color=333333&link_color=08488D&border_form=1&footer_color=ffffff&footer_text_color=333333&transparent=0"></script><!-- weather widget end -->
                            </div>
                        </div>
                        <!-- secciones especiales -->
                        
                        <!-- secciones tv, radio, yucas -->
                        <div style="position: absolute; top: 245px; left: 310px;">
                            <div id="imtv" style="position: absolute; height: auto;">
                                <a href="tv/" target="_blank"><img src="images/imtv.png" width="200"/></a>
                            </div>
                            <div id="radio" style="position: absolute; left: 205px;">
                                <a href="../newradio" target="_blank"><img src="images/imradio.png" width="200"/></a>
                            </div>
                            <div id="yucas" style="position: absolute; left: 410px;">
                                <a href="yucatan.php" target="_blank"><img src="images/imyucatan.png" width="200"/></a>
                            </div>
                        </div>
                        <!-- secciones tv, radio, yucas -->
                        
                        <!-- banners -->
                        <div style="position: absolute; margin-top: -70px;">
                            <div id="publicidad1" style="display: block; margin-left: 350px;">
                                <a target="_blank" href="http://itunes.apple.com/mx/app/im-noticias/id550675097?mt=8" style="position: absolute; top: 0px;"><img width="500" src="../images/nuevo banner app INFOMEDIA.png"/></a>
                            </div>
                            <div id="publicidad2" style="display: none; margin-left: 350px;">
                                <img width="500" src="../images/banner_adda.png"/>
                            </div>
                            <div id="publicidad3" style="display: none; margin-left: 350px;">
                                <img width="500" src="../images/banner_gaviota.png"/>
                            </div>
                            <div id="publicidad4" style="display: none; margin-left: 350px;">
                                <img width="500" src="../images/banner_litek.png"/>
                            </div>
                        </div>
                        <!-- banners -->